package cn.edu.seu.ssny.dao;

import cn.edu.seu.ssny.dao.support.IBaseDao;
import cn.edu.seu.ssny.entity.*;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface IEquipmentTypeDao extends IBaseDao<EquipmentType, Integer> {
    Optional<EquipmentType> findByName(String name);
}
